import request from '@/utils/request'

// 查询车位锁站点管理列表
export function listParkinglockStation(query) {
  return request({
    url: '/business/parkinglockStation/list',
    method: 'get',
    params: query
  })
}

// 查询车位锁站点管理详细
export function getParkinglockStation(id) {
  return request({
    url: '/business/parkinglockStation/' + id,
    method: 'get'
  })
}

// 新增车位锁站点管理
export function addParkinglockStation(data) {
  return request({
    url: '/business/parkinglockStation',
    method: 'post',
    data: data
  })
}

// 修改车位锁站点管理
export function updateParkinglockStation(data) {
  return request({
    url: '/business/parkinglockStation',
    method: 'put',
    data: data
  })
}

// 删除车位锁站点管理
export function delParkinglockStation(id) {
  return request({
    url: '/business/parkinglockStation/' + id,
    method: 'delete'
  })
}
